﻿using Oracle.ManagedDataAccess.Client;
using Server.Framework.Message;
using Server.Framework.Processor;
using Server.Framework.Service;
using Server.Framework.Socket;
using System;
using System.Configuration;
using System.Data.Common;

namespace Server
{
    class Program
    {
        /// <summary>
        /// Author: Leil
        /// Description: 主程序入口
        /// CreateTime: 2020/5/10 09:00:00
        /// </summary>
        static void Main(string[] args)
        {
            log4net.ILog logInfo = log4net.LogManager.GetLogger("loginfo");
            logInfo.Info("测试日志写入");

            //初始化消息类型
            MessageTypeManager.Init();

            // 初始化消息处理器
            ProcessorManager.Init();

            // 服务器启动
            ApplicationServer.Instance().Start();

            // 窗体不关闭
            Console.ReadLine();


            //DBService.Instance().ExecuteProcedureOut();
            //Console.ReadLine();






        }


        






    }
}
